<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GimpCellRendererColor: GIMP 3 Widgets Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP 3 Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-cell-renderers.html" title="Part II. Cell Renderers for GtkTreeView">
<link rel="prev" href="libgimpwidgets-cell-renderers.html" title="Part II. Cell Renderers for GtkTreeView">
<link rel="next" href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GimpCellRendererColor.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GimpCellRendererColor.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GimpCellRendererColor.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libgimpwidgets-cell-renderers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libgimpwidgets-cell-renderers.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GimpCellRendererToggle.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GimpCellRendererColor"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpCellRendererColor.top_of_page"></a>GimpCellRendererColor</span></h2>
<p>GimpCellRendererColor — A <a href="https://developer.gnome.org/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct"><span class="type">GtkCellRenderer</span></a> to display a <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> color.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GimpCellRendererColor.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<a href="https://developer.gnome.org/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct"><span class="returnvalue">GtkCellRenderer</span></a> *
</td>
<td class="function_name">
<a class="link" href="GimpCellRendererColor.html#gimp-cell-renderer-color-new" title="gimp_cell_renderer_color_new ()">gimp_cell_renderer_color_new</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *</td>
<td class="property_name"><a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--color" title="The “color” property">color</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">int</span></td>
<td class="property_name"><a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--icon-size" title="The “icon-size” property">icon-size</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--opaque" title="The “opaque” property">opaque</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor-struct" title="GimpCellRendererColor">GimpCellRendererColor</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GInitiallyUnowned
        <span class="lineart">╰──</span> <a href="https://developer.gnome.org/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct">GtkCellRenderer</a>
            <span class="lineart">╰──</span> GimpCellRendererColor
</pre>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.description"></a><h2>Description</h2>
<p>A <a href="https://developer.gnome.org/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct"><span class="type">GtkCellRenderer</span></a> to display a <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> color.</p>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gimp-cell-renderer-color-new"></a><h3>gimp_cell_renderer_color_new ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct"><span class="returnvalue">GtkCellRenderer</span></a> *
gimp_cell_renderer_color_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a <a href="https://developer.gnome.org/gtk3/GtkCellRenderer.html#GtkCellRenderer-struct"><span class="type">GtkCellRenderer</span></a> that displays a color.</p>
<div class="refsect3">
<a name="gimp-cell-renderer-color-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GimpCellRendererColor.html" title="GimpCellRendererColor"><span class="type">GimpCellRendererColor</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
</div>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GimpCellRendererColor-struct"></a><h3>GimpCellRendererColor</h3>
<pre class="programlisting">typedef struct _GimpCellRendererColor GimpCellRendererColor;</pre>
</div>
</div>
<div class="refsect1">
<a name="GimpCellRendererColor.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GimpCellRendererColor--color"></a><h3>The <code class="literal">“color”</code> property</h3>
<pre class="programlisting">  “color”                    <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *</pre>
<p>The displayed color.</p>
<p>Owner: GimpCellRendererColor</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="GimpCellRendererColor--icon-size"></a><h3>The <code class="literal">“icon-size”</code> property</h3>
<pre class="programlisting">  “icon-size”                <span class="type">int</span></pre>
<p>The cell's size.</p>
<p>Owner: GimpCellRendererColor</p>
<p>Flags: Read / Write / Construct</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GimpCellRendererColor--opaque"></a><h3>The <code class="literal">“opaque”</code> property</h3>
<pre class="programlisting">  “opaque”                   <span class="type">gboolean</span></pre>
<p>Whether to show transparency.</p>
<p>Owner: GimpCellRendererColor</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: TRUE</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>